package com.tt.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;


import com.tt.entity.Shangpin;

public interface ShangpinDao extends PagingAndSortingRepository<Shangpin, Long>, JpaSpecificationExecutor<Shangpin>{

	Shangpin findByWid(String wid);

	Object findByName(String name);

}
